from Tools.Tools import *
import pytest,os

if __name__ == '__main__':
    log()
    mail()
    pytest.main([
        '-s',
        r'E:\gg4\gaoliu\UI_web_A3mall\TestCase\TestCase.py',
        '--clean-alluredir',
        '--alluredir=./report/A3malldir',
        '--html=./report/a3mall.html'
    ])
    os.system('allure generate ./report/A3malldir -o ./report/A3mallbg --clean')